package org.xshop.model;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import top.ibase4j.core.base.BaseModel;

/**
 * <p>
 * 商品限购
 * </p>
 *
 * @author ShenHuaJie
 * @since 2017-03-19
 */
@TableName("t_goods_limit")
@SuppressWarnings("serial")
public class TGoodsLimit extends BaseModel {

	@TableField("goods_id")
	private Long goodsId;
	@TableField("start_time")
	private Date startTime;
	@TableField("end_time")
	private Date endTime;
	@TableField("limit_number")
	private BigDecimal limitNumber;
	@TableField(exist = false)
	private TGoods goods ;
	public Long getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(Long goodsId) {
		this.goodsId = goodsId;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public BigDecimal getLimitNumber() {
		return limitNumber;
	}

	public void setLimitNumber(BigDecimal limitNumber) {
		this.limitNumber = limitNumber;
	}

	public TGoods getGoods() {
		return goods;
	}

	public void setGoods(TGoods goods) {
		this.goods = goods;
	}

}